package com.boruiimage.demo.repository;
import com.boruiimage.demo.doMain.Result;
import com.boruiimage.demo.doMain.user;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;

public interface registerDao {
    //注册用户
    int addUser(String userName, String userPassword, String code, HttpServletRequest request);
   //登录
    Result selectUSer(String userName,String userPassword);
    //忘记密码
    Result upUser(String userName,String userPassword,String code, HttpServletRequest request);
   //APP端用户名密码登录
   Result selectUser(String userName,String passwprd);
   //APP端检测是否被注册
   Result SeletctByuserNameS(@Param(value = "userName") String userName);
   //APP端添加用户
   int addUserS(String userName, String userPassword);
   //添加垃圾信息
    int addmess( String connect, String code);
    //查询垃圾信息
    String Select( String connect);
    //删除垃圾
    int de();
    //APP端修改密码
    int upUsers(String userName,String userPassword);
    int delByconnect(String connect);
}
